Total Complexity | 18 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 126 |
Lines of code | 101 |
Logical lines of code | 51 |
Comment lines | 2 |
Methods | 8 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
mapPropsToElements() | 44 | 5 | 51 | |
shouldRenderImage() | 72 | 3 | 5 | |
getLinkData() | 60 | 2 | 13 | |
getFeaturedImageUrl() | 66 | 2 | 8 | |
getFeaturedImageId() | 66 | 2 | 8 | |
getImageUrl() | 68 | 2 | 8 | |
computed() | 74 | 1 | 5 | |
getAspectRatioClass() | 79 | 1 | 3 |